home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 123
/
(Vol 123) Jan 13 2011.iso
/
Games
/
bread-cooking.swf
/
scripts
/
frame_84
/
PlaceObject2_35_25
/
CLIPACTIONRECORD onClipEvent(mouseDown).as
< prev
Wrap
Text File
|
2011-01-13
|
436b
|
21 lines
onClipEvent(mouseDown){
if(_root.isGameOver)
{
return undefined;
}
if(this.hitTest(_root._xmouse,_root._ymouse,false))
{
if(state < 8 && _root.cursor.getState() == 2)
{
state++;
this.gotoAndStop(8 + state);
if(state == 8)
{
_root.mc_score.nextFrame();
this.play();
}
_root.cursor.normal();
}
}
}